package com.fgs.common.entity.region;

import com.fgs.common.interf.ISelectItemValue;
import com.xuexiang.xui.widget.picker.wheelview.interfaces.IPickerViewItem;

import java.util.List;

/**
 * @author fgs
 * @date 2020/6/20
 * @description
 **/
public class ProvinceInfo implements IPickerViewItem, ISelectItemValue {
    public String name;
    public String code;
    public List<CityInfo> cityList;

    @Override
    public String getPickerViewText() {
        return name;
    }

    @Override
    public String getSelectItemText() {
        return name;
    }

    @Override
    public String getSelectItemTextValue() {
        return code;
    }
}
